package org.geektimes.projects.microprofile.config.source;

import java.util.Map;

/**
 * @author biwin
 */
public class JavaSystemPropertiesConfigSource extends MapBasedConfigSource {
    public JavaSystemPropertiesConfigSource() {
        super(200, "JavaSystemPropertiesConfigSource");
    }

    @Override
    protected void prepareConfigData(Map configData) throws Throwable {
        configData.putAll(System.getenv());
    }
}
